<?php /* Smarty version 2.6.26, created on 2011-05-20 19:25:14
         compiled from login/bodyindex.tpl */ ?>
<?php echo '
<script type="text/javascript">
    $(document).ready(function(){
        $("#form_login").validate({
            rules: {
                login: { required: true },
                senha: { required: true}
            },
            messages: {
                login: "Obrigatorio",
                senha: { required: "Obrigatorio" }
            }/*,
            submitHandler: function(form) {
				jqAjaxForm(form, "principal");
			}*/
        });

        $("#recuperar_senha").click(function(){
        	jqAjaxLink(\'login/recuperar-senha-form\', \'\', \'principal\');
        });
        
    }); //fecha $(
</script>
'; ?>

<center>
<form id="form_login" name="form_login" method="post" action="<?php echo $this->_tpl_vars['_site']['url']; ?>
login/realiza-login">
<input type="hidden" name="bln_areacliente" value="false">
<br><br>
<table width="350" border="0" cellspacing="0" cellpadding="0" class="mvTituloFundo">
  <tr>
	<td>
	Login do usu&aacute;rio
	</td>
  </tr>
</table>
<table width="350" border="0" cellspacing="0" cellpadding="0">                
<tr>
  <td class="contForm">
	  <table width="100%" border="0" cellspacing="3" cellpadding="10">
	      <tr>
	        <td width="30%" valign="top" class="fundoTituloForm paddingTotal5">&nbsp;&nbsp;Login:</td>
	        <td align="left" class="bordaFormResp paddingTotal5"><input type="text" name="login" id="login" size="30" maxlength="50" class="formulario"/></td>
	      </tr>
	      <tr>
	        <td width="30%" valign="top" class="fundoTituloForm paddingTotal5">&nbsp;&nbsp;Senha:</td>
	        <td align="left" class="bordaFormResp paddingTotal5"><input type="password" name="senha" id="senha" size="30" maxlength="50" class="formulario"/></td>
	      </tr>
	      <tr>
	        <td colspan="2" valign="top" align="right" class="fundoTituloForm paddingTotal5">
	        	<span id="recuperar_senha" class="msgNaoLida" style="cursor:pointer;">[recuperar senha]</span>
	        </td>
	      </tr>
	  </table>
	  <input type="hidden" name="cod" value="<?php echo $this->_tpl_vars['tipocontato']->id; ?>
"/>
  </td>
</tr>
<tr>
	<td valign="bottom" align="center"><br></br><?php echo $this->_tpl_vars['mensagem']; ?>
</td>
</tr>
<tr>
  <td class=" paddingBottom15" align="center"><!-- === Botões ( Salvar e Limpar ) === -->
	<br>
  	<span class="paddingRight15">
		<input type="submit" value="Entrar" class="botao">
	</span>
	<span class="paddingRight15">
		<input name="limpar" type="reset" id="Limpar" value="Limpar" class="botao" />
	</span>
	<br><br><br><br>
   </td>
</tr>
</table>
</form>
</center>